ago = eval(input('请输入年龄:'))
if ago < 18:
    print(f'您的年龄是{ago},为童工不合法')
elif ago >= 18 and ago < 60:
    print(f'您的年龄是{ago},合法工作年龄')
elif ago >= 60:
    print(f'您的年龄是{ago},达到退休年龄')
